#include "engine.h"
#include "draw.h"
#include "bitmap.h"
#include "font.h"
#include <timer.h>
#include "main_menu.h"

#include <stdio.h>

int main(int num_of_args, char** args)
{
  Engine_init();
  Timer_init();
  Input_init();
  Graphics_init();
  FontSystem_init();
  Graphics_setScreen("Microbe", 1280, 1024, true, false);
  Draw_init();
  GUI_init();
  GUI_loadDefaultFont("vera_mono.ttf", 14);
  
  MainMenu* main_menu = new MainMenu();
  
  GUI_runState(main_menu);
  
  delete main_menu;
  
  GUI_quit();
  Graphics_quit();
  Engine_quit();
  
  return 0;
}
